﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/WebMaster.Master" AutoEventWireup="true"
    CodeBehind="ViewDeviceUsingReport.aspx.cs" Inherits="MaxStudio.Concrete.Web.Pages.ViewDeviceUsingReport" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <script language="javascript" type="text/javascript">
        function CloseDialog() {
            $("#dialog").dialog("close");
        }
        function CloseEditDialog() {
            $("#EditDialog").dialog("close");
        }
        function OpenDialog() {
            $("#EditDialog").dialog("open");
            return false;
        }
        function OpenConfirmDialog() {
            $("#dialog-confirm").dialog("open");
            return false;
        }
        function CloseConfirmDialog() {
            $("#dialog-confirm").dialog("close");
            return false;
        }
        $(function() {
            var dlg = jQuery("#dialog").dialog({
                draggable: true,
                resizable: true,
                closed: true,
                show: 'Transfer',
                hide: 'Transfer',
                autoOpen: false,
                width: 600,
                minHeight: 10,
                minwidth: 10
            });
            dlg.parent().appendTo(jQuery("form:first"));

            var Editdlg = jQuery("#EditDialog").dialog({
                draggable: true,
                resizable: true,
                closed: true,
                show: 'Transfer',
                hide: 'Transfer',
                autoOpen: false,
                width: 600,
                minHeight: 10,
                minwidth: 10
            });
            Editdlg.parent().appendTo(jQuery("form:first"));

            var confirm = jQuery("#dialog-confirm").dialog({
                draggable: true,
                resizable: true,
                closed: true,
                show: 'Transfer',
                hide: 'Transfer',
                autoOpen: false,
                width: 300,
                minHeight: 10,
                minwidth: 10
            });
            confirm.parent().appendTo(jQuery("form:first"));
        });
        $(function() {
            $("#dialog-confirm").dialog({
                resizable: false,
                autoOpen: false,
                height: 140,
                modal: true
            });
        });

           
    </script>

    <div class="LinkMap">
        >>我的位置 >> 报表查看 >> 设备使用记录表
    </div>
    <div>
        <div id="tabs">
            <ul>
                <li><a href="#tabs-1">功能介绍</a></li>
                <li><a href="#tabs-2">设备使用记录表</a></li>
            </ul>
            <div id="tabs-1">
                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
                incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
                exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
            <div id="tabs-2">
                <div style="width: auto; margin: 10px;">
                    <div>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                        请选择设备名称：<asp:DropDownList runat="server" ID="ddlDevice"></asp:DropDownList>
                        <asp:Button runat="server" ID="btnConfirmDevice" 
                            onclick="btnConfirmDevice_Click" Text="确认" />
                    </div>
                    <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True"
                        Height="50px" Width="350px" GroupTreeStyle-BorderStyle="None" />
                        </ContentTemplate>
                        </asp:UpdatePanel>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
